Optimal. Leaf size=224 \[ \frac {b^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \tan ^{-1}\left (\sqrt {3}-\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{2 d}+\frac {b^{2/3} \tan ^{-1}\left (\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}+\sqrt {3}\right )}{2 d}+\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}-\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}-\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}+\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.39, antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 8, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {3476, 329, 295, 634, 618, 204, 628, 203} \[ \frac {b^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \tan ^{-1}\left (\sqrt {3}-\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{2 d}+\frac {b^{2/3} \tan ^{-1}\left (\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}+\sqrt {3}\right )}{2 d}+\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}-\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}-\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}+\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 204
Rule 295
Rule 329
Rule 618
Rule 628
Rule 634
Rule 3476
Rubi steps
\begin {align*} \int (b \tan (c+d x))^{2/3} \, dx &=\frac {b \operatorname {Subst}\left (\int \frac {x^{2/3}}{b^2+x^2} \, dx,x,b \tan (c+d x)\right )}{d}\\ &=\frac {(3 b) \operatorname {Subst}\left (\int \frac {x^4}{b^2+x^6} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{d}\\ &=\frac {b^{2/3} \operatorname {Subst}\left (\int \frac {-\frac {\sqrt [3]{b}}{2}+\frac {\sqrt {3} x}{2}}{b^{2/3}-\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{d}+\frac {b^{2/3} \operatorname {Subst}\left (\int \frac {-\frac {\sqrt [3]{b}}{2}-\frac {\sqrt {3} x}{2}}{b^{2/3}+\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{d}+\frac {b \operatorname {Subst}\left (\int \frac {1}{b^{2/3}+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{d}\\ &=\frac {b^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{d}+\frac {\left (\sqrt {3} b^{2/3}\right ) \operatorname {Subst}\left (\int \frac {-\sqrt {3} \sqrt [3]{b}+2 x}{b^{2/3}-\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{4 d}-\frac {\left (\sqrt {3} b^{2/3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {3} \sqrt [3]{b}+2 x}{b^{2/3}+\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{4 d}+\frac {b \operatorname {Subst}\left (\int \frac {1}{b^{2/3}-\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{4 d}+\frac {b \operatorname {Subst}\left (\int \frac {1}{b^{2/3}+\sqrt {3} \sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \tan (c+d x)}\right )}{4 d}\\ &=\frac {b^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{d}+\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}-\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}-\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}+\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \operatorname {Subst}\left (\int \frac {1}{-\frac {1}{3}-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt {3} \sqrt [3]{b}}\right )}{2 \sqrt {3} d}-\frac {b^{2/3} \operatorname {Subst}\left (\int \frac {1}{-\frac {1}{3}-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b \tan (c+d x)}}{\sqrt {3} \sqrt [3]{b}}\right )}{2 \sqrt {3} d}\\ &=\frac {b^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \tan ^{-1}\left (\frac {1}{3} \left (3 \sqrt {3}-\frac {6 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )\right )}{2 d}+\frac {b^{2/3} \tan ^{-1}\left (\frac {1}{3} \left (3 \sqrt {3}+\frac {6 \sqrt [3]{b \tan (c+d x)}}{\sqrt [3]{b}}\right )\right )}{2 d}+\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}-\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}-\frac {\sqrt {3} b^{2/3} \log \left (b^{2/3}+\sqrt {3} \sqrt [3]{b} \sqrt [3]{b \tan (c+d x)}+(b \tan (c+d x))^{2/3}\right )}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.05, size = 40, normalized size = 0.18 \[ \frac {3 (b \tan (c+d x))^{5/3} \, _2F_1\left (\frac {5}{6},1;\frac {11}{6};-\tan ^2(c+d x)\right )}{5 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.57, size = 583, normalized size = 2.60 \[ -\frac {1}{4} \, \sqrt {3} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} \log \left (\sqrt {3} b^{3} d^{5} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {5}{6}} + b^{4} d^{4} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {2}{3}} + b^{6} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {2}{3}}\right ) + \frac {1}{4} \, \sqrt {3} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} \log \left (-\sqrt {3} b^{3} d^{5} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {5}{6}} + b^{4} d^{4} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {2}{3}} + b^{6} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {2}{3}}\right ) - \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} \arctan \left (-\frac {\sqrt {3} b^{4} + 2 \, b^{3} d \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} - 2 \, \sqrt {\sqrt {3} b^{3} d^{5} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {5}{6}} + b^{4} d^{4} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {2}{3}} + b^{6} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {2}{3}}} d \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}}}{b^{4}}\right ) - \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} \arctan \left (\frac {\sqrt {3} b^{4} - 2 \, b^{3} d \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} + 2 \, \sqrt {-\sqrt {3} b^{3} d^{5} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {5}{6}} + b^{4} d^{4} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {2}{3}} + b^{6} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {2}{3}}} d \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}}}{b^{4}}\right ) - 2 \, \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} \arctan \left (-\frac {b^{3} d \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {1}{3}} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}} - \sqrt {b^{4} d^{4} \left (\frac {b^{4}}{d^{6}}\right )^{\frac {2}{3}} + b^{6} \left (\frac {b \sin \left (d x + c\right )}{\cos \left (d x + c\right )}\right )^{\frac {2}{3}}} d \left (\frac {b^{4}}{d^{6}}\right )^{\frac {1}{6}}}{b^{4}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \tan \left (d x + c\right )\right )^{\frac {2}{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 202, normalized size = 0.90 \[ \frac {\sqrt {3}\, \left (b^{2}\right )^{\frac {5}{6}} \ln \left (\left (b \tan \left (d x +c \right )\right )^{\frac {2}{3}}-\sqrt {3}\, \left (b^{2}\right )^{\frac {1}{6}} \left (b \tan \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b^{2}\right )^{\frac {1}{3}}\right )}{4 d b}+\frac {b \arctan \left (\frac {2 \left (b \tan \left (d x +c \right )\right )^{\frac {1}{3}}}{\left (b^{2}\right )^{\frac {1}{6}}}-\sqrt {3}\right )}{2 d \left (b^{2}\right )^{\frac {1}{6}}}+\frac {b \arctan \left (\frac {\left (b \tan \left (d x +c \right )\right )^{\frac {1}{3}}}{\left (b^{2}\right )^{\frac {1}{6}}}\right )}{d \left (b^{2}\right )^{\frac {1}{6}}}-\frac {\sqrt {3}\, \left (b^{2}\right )^{\frac {5}{6}} \ln \left (\left (b \tan \left (d x +c \right )\right )^{\frac {2}{3}}+\sqrt {3}\, \left (b^{2}\right )^{\frac {1}{6}} \left (b \tan \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b^{2}\right )^{\frac {1}{3}}\right )}{4 d b}+\frac {b \arctan \left (\frac {2 \left (b \tan \left (d x +c \right )\right )^{\frac {1}{3}}}{\left (b^{2}\right )^{\frac {1}{6}}}+\sqrt {3}\right )}{2 d \left (b^{2}\right )^{\frac {1}{6}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 168, normalized size = 0.75 \[ -\frac {{\left (\frac {\sqrt {3} \log \left (\sqrt {3} \left (b \tan \left (d x + c\right )\right )^{\frac {1}{3}} b^{\frac {1}{3}} + \left (b \tan \left (d x + c\right )\right )^{\frac {2}{3}} + b^{\frac {2}{3}}\right )}{b^{\frac {1}{3}}} - \frac {\sqrt {3} \log \left (-\sqrt {3} \left (b \tan \left (d x + c\right )\right )^{\frac {1}{3}} b^{\frac {1}{3}} + \left (b \tan \left (d x + c\right )\right )^{\frac {2}{3}} + b^{\frac {2}{3}}\right )}{b^{\frac {1}{3}}} - \frac {2 \, \arctan \left (\frac {\sqrt {3} b^{\frac {1}{3}} + 2 \, \left (b \tan \left (d x + c\right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}\right )}{b^{\frac {1}{3}}} - \frac {2 \, \arctan \left (-\frac {\sqrt {3} b^{\frac {1}{3}} - 2 \, \left (b \tan \left (d x + c\right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}\right )}{b^{\frac {1}{3}}} - \frac {4 \, \arctan \left (\frac {\left (b \tan \left (d x + c\right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}\right )}{b^{\frac {1}{3}}}\right )} b}{4 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.95, size = 259, normalized size = 1.16 \[ \frac {{\left (-1\right )}^{1/6}\,b^{2/3}\,\mathrm {atan}\left (\frac {{\left (-1\right )}^{2/3}\,{\left (b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{1/3}}{b^{1/3}}\right )\,1{}\mathrm {i}}{d}-\frac {{\left (-1\right )}^{1/6}\,b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}+\frac {486\,{\left (-1\right )}^{1/6}\,b^{26/3}\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )\,{\left (b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,d}-\frac {{\left (-1\right )}^{1/6}\,b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}+\frac {486\,{\left (-1\right )}^{1/6}\,b^{26/3}\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )\,{\left (b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,d}+\frac {{\left (-1\right )}^{1/6}\,b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}-\frac {486\,{\left (-1\right )}^{1/6}\,b^{26/3}\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )\,{\left (b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (-\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{d}+\frac {{\left (-1\right )}^{1/6}\,b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}-\frac {486\,{\left (-1\right )}^{1/6}\,b^{26/3}\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )\,{\left (b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \tan {\left (c + d x \right )}\right )^{\frac {2}{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________